QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Public Draw Context Method Selectors

The methodTag parameter passed to the QARegisterDrawMethod function specifies a type of public draw context method. QuickDraw 3D RAVE defines these constants for method selectors.

typedef enum TQADrawMethodTag {
    kQASetFloat                                     = 0,
    kQASetInt                                       = 1,
    kQASetPtr                                       = 2,
    kQAGetFloat                                     = 3,
    kQAGetInt                                       = 4,
    kQAGetPtr                                       = 5,
    kQADrawPoint                                    = 6,
    kQADrawLine                                     = 7,
    kQADrawTriGouraud                               = 8,
    kQADrawTriTexture                               = 9,
    kQADrawVGouraud                                 = 10,
    kQADrawVTexture                                 = 11,
    kQADrawBitmap                                   = 12,
    kQARenderStart                                  = 13,
    kQARenderEnd                                    = 14,
    kQARenderAbort                                  = 15,
    kQAFlush                                        = 16,
    kQASync                                         = 17,
    kQASubmitVerticesGouraud                        = 18,
    kQASubmitVerticesTexture                        = 19,
    kQADrawTriMeshGouraud                           = 20,
    kQADrawTriMeshTexture                           = 21,
    kQASetNoticeMethod                              = 22,
    kQAGetNoticeMethod                              = 23
} TQADrawMethodTag;

Constant descriptions

kQASetFloat
The TQASetFloat method.
kQASetInt
The TQASetInt method.
kQASetPtr
The TQASetPtr method.
kQAGetFloat
The TQAGetFloat method.
kQAGetInt
The TQAGetInt method.
kQAGetPtr
The TQAGetPtr method.
kQADrawPoint
The TQADrawPoint method.
kQADrawLine
The TQADrawLine method.
kQADrawTriGouraud
The TQADrawTriGouraud method.
kQADrawTriTexture
The TQADrawTriTexture method.
kQADrawVGouraud
The TQADrawVGouraud method.
kQADrawVTexture
The TQADrawVTexture method.
kQADrawBitmap
The TQADrawBitmap method.
kQARenderStart
The TQARenderStart method.
kQARenderEnd
The TQARenderEnd method.
kQARenderAbort
The TQARenderAbort method.
kQAFlush
The TQAFlush method.
kQASync
The TQASync method.
kQASubmitVerticesGouraud
The TQASubmitVerticesGouraud method.
kQASubmitVerticesTexture
The TQASubmitVerticesTexture method.
kQADrawTriMeshGouraud
The TQADrawTriMeshGouraud method.
kQADrawTriMeshTexture
The TQADrawTriMeshTexture method.
kQASetNoticeMethod
The TQASetNoticeMethod method.
kQAGetNoticeMethod
The TQAGetNoticeMethod method.

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |